package model;

import java.sql.Timestamp;

/**
 * TRule entity. @author MyEclipse Persistence Tools
 */

public class TRule implements java.io.Serializable {

	// Fields

	private Integer ruleid;
	private String adminid;
	private String rulename;
	private String rulececontent;
	private Timestamp creattime;
	private String note;

	// Constructors

	/** default constructor */
	public TRule() {
	}

	/** full constructor */
	public TRule(String adminid, String rulename, String rulececontent,
			Timestamp creattime, String note) {
		this.adminid = adminid;
		this.rulename = rulename;
		this.rulececontent = rulececontent;
		this.creattime = creattime;
		this.note = note;
	}

	// Property accessors

	public Integer getRuleid() {
		return this.ruleid;
	}

	public void setRuleid(Integer ruleid) {
		this.ruleid = ruleid;
	}

	public String getAdminid() {
		return this.adminid;
	}

	public void setAdminid(String adminid) {
		this.adminid = adminid;
	}

	public String getRulename() {
		return this.rulename;
	}

	public void setRulename(String rulename) {
		this.rulename = rulename;
	}

	public String getRulececontent() {
		return this.rulececontent;
	}

	public void setRulececontent(String rulececontent) {
		this.rulececontent = rulececontent;
	}

	public Timestamp getCreattime() {
		return this.creattime;
	}

	public void setCreattime(Timestamp creattime) {
		this.creattime = creattime;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}